<select class="ChosenMany" name="{$name}[]" multiple data-placeholder="请选择" data-no_results_text="未找到此选项!">
	<option value=""></option>
	<foreach name="select" item="v" key="k">
	<option value="{$k}" <in name="k" value="$value">selected</in> >{$v}</option>
	</foreach>
</select>

<notdefined name="W_CHOSEN">
	<link href="__PUBLIC__/Js/Chosen/chosen.min.css" rel="stylesheet">
	<script type="text/javascript" src="__PUBLIC__/Js/Chosen/chosen.jquery.min.js"></script>
	<script>
		$(".ChosenMany").chosen({
			allow_single_deselect:true,//单选清除选择
			max_selected_options: 3,
			width:"50%" 
		});
	</script>
	<define name="W_CHOSEN" value="1" />
</notdefined>